@import '../vars.scss';

.theme-cool {
  .el-menu--popup{
      .el-menu-item{
          background-color: $--color-white;
          i,span{
              color:$--color-text-regular;
          }
          &:hover{
              i,span{
                  color:$--color-text-primary;
              }
          }
          &.is-active {
              background-color: $--color-primary;
              &:before {
                  content: '';
                  top: 0;
                  left: 0;
                  bottom: 0;
                  width: 4px;
                  background: $--color-primary;
                  position: absolute;
              }
              i,span{
                  color:$--color-white;
              }
          }
      }
  }
  .avue-header{
    background: linear-gradient(120deg,#25aff3,$--color-primary);
  }
  .avue-tags {
    padding: 0 3px;
    margin: 8px 0;
    box-shadow: none;
    background-color: transparent;
    .el-tabs__header .el-tabs__item{
      padding: 0 10px !important;
      background-color: $--color-white;
      margin-right: 5px;
      color: $--color-text-secondary;
      border-radius: 3px;
      height:30px;
      font-size: 12px;
      line-height: 30px;
       &.is-active {
        border: none;
        color:$--color-primary;
       }
    }
  }
  .avue-logo{
    // background: $--color-white;
    box-shadow: none;
  }
  .avue-sidebar--tip{
    background-color:transparent;
    color:$--color-text-primary;
  }
  .el-dropdown{
    color:$--color-white;
  }
  .avue-logo_title{
    font-weight: 400;
    color:$--color-primary;
  }
  .logo_title,
  .avue-breadcrumb
  {
      color: $--color-white ;
      i {
          color: $--color-white;
      }
  }
  .avue-top{
    .el-menu-item {
      i,
      span {
          color: $--color-white ;
      }
      &:hover {
          i,
          span {
              color: $--color-white ;
          }
      }
    }
  }
  .avue-sidebar{
    box-shadow: 2px 0 6px rgba(0, 21, 41, 0.15);
    background-color: $--color-white;
    padding: 20px 0;
    padding-top: 1px;
    .el-menu-item,.el-submenu__title{
      font-size: 13px;
      i,span{
          color:$--color-black;
      }
      &:hover{
          background: transparent;
          i,span{
             color:$--color-black;
          }
      }
      &.is-active {
        background-color: $--color-primary-light-9;
        &::before{
          width: 0;
        }
          i,span{
            color: $--color-primary;
          }
      }
    }
  }
  .top-search {
      .el-input__inner{
        color: $--color-text-primary;
      }
      input::-webkit-input-placeholder,
      textarea::-webkit-input-placeholder {
          /* WebKit browsers */
          color: $--color-white;
      }
      input:-moz-placeholder,
      textarea:-moz-placeholder {
          /* Mozilla Firefox 4 to 18 */
          color: $--color-white;
      }
      input::-moz-placeholder,
      textarea::-moz-placeholder {
          /* Mozilla Firefox 19+ */
          color: $--color-white;
      }
      input:-ms-input-placeholder,
      textarea:-ms-input-placeholder {
          /* Internet Explorer 10+ */
          color: $--color-white;
      }
  }
  .top-bar__item {
      i {
          color: $--color-white;
      }
  }

  &.theme-th{
    .avue-main{
      background: rgb(250,250,250);
    }
    .avue-top{
      height: 60px;
      line-height: 60px;
    }
    .avue-left{
      top: 60px;
    }
    .avue-top .el-menu--horizontal > .el-menu-item {
      height: 60px;
      line-height: 60px;
    }
    .top-bar__left, .top-bar__right{
      top: 3px;
    }
    .avue-sidebar{
      background-color: $--color-white;
      .el-menu-item,.el-submenu__title{
        line-height: 40px;
        height: 40px;
        i,span{
            color: #fff;
        }
        &:hover{
            i,span{
               color:#fff; 
            }
        }
        &.is-active {
          background-color: rgb(3, 114, 213);
          &::before{
            width: 0;
          }
            i,span{
              color: #fff;
            }
        }
      }
    }
    .avue-sidebar{
      background: rgb(6, 18, 33);
    }
    .avue-header{
      background: rgb(6, 18, 33);
    }
    .el-button--primary {
      background-color: #0372d5;
      border-color: #0372d5;
    }
    .el-button--primary:hover, .el-button--primary:focus {
      background: #1180e3;
      border-color: #1180e3;
    }
    .el-button--text{
      color: #1180e3;
    }
    .el-button--success {
      background-color: #67c23a;
      border-color: #67c23a;
    }
    .el-button--success:hover, .el-button--success:focus {
      background: #10ee37;
      border-color: #10ee37;
    }
    .el-button--danger {
      background-color: #f56c6c;
      border-color: #f56c6c;
    }
    .el-button--danger:hover, .el-button--danger:focus {
      background: #fe5849;
      border-color: #fe5849;
    }
  }
}